package wotd.web;

import com.google.appengine.repackaged.com.google.common.util.Base64;
import com.google.appengine.repackaged.com.google.common.util.Base64DecoderException;


public class FacebookUser {
	public FacebookUser(String request) throws Base64DecoderException {
		String[] parts = request.split(".");
		String sig = parts[0];
		String json = parts[1].replace("-", "+").replace("_", "/").trim();
		json = new String(Base64.decode(json));
	}
}
